package com.archermind.boc.dal.business.file;

import java.util.Date;

public interface IImageHelper {
	/**
	 * 
	 * @param data
	 * @param sessionID
	 * @return file path
	 */
	public String write(String data, String sessionID);

	/**
	 * 
	 * @param data
	 * @param date
	 * @param sessionID
	 * @return file path
	 */
	public String write(String data, Date date, String sessionID);

	public void delFile(String path);

	public void delFilesByDate(Date date);

	public void delFilesByID(Date date);

	public byte[] read(String path);

	public boolean exists(String path);
}
